Cell processor task and data management

ABSTRACT

Cell processor task and data management systems methods and apparatus are disclosed. A cell processor divides an event that event requires more memory space than is available in a local storage of a synergistic processing element (SPE) into two or more segments. Each segment has a segment size that is less than or the same as an amount of memory space available in the local storage. The segments are processed with one or more SPE of the cell processor to produce two or more corresponding outputs.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is related to commonly-assigned U.S. patent applicationSer. No. 11/238,077 entitled “CELL PROCESSOR METHODS AND APPARATUS” toJohn P. Bates, Payton R. White and Attila Vass, which is filed the sameday as the present application, the entire disclosures of which areincorporated herein by reference.

This application is related to commonly-assigned U.S. patent applicationSer. No. 11/238,087 entitled “SPU TASK MANAGER FOR CELL PROCESSOR” toJohn P. Bates, Payton R. White, Richard Stenson, Howard Berkey, AttilaVass and Mark Cerny, which is filed the same day as the presentapplication, the entire disclosures of which are incorporated herein byreference.

This application is also related to commonly-assigned U.S. patentapplication Ser. No. 11/238,086 entitled “OPERATING CELL PROCESSORS OVERA NETWORK” to Tatsuya Iwamoto, which is filed the same day as thepresent application, the entire disclosures of which are incorporatedherein by reference.

This application is also related to commonly-assigned U.S. patentapplication Ser. No. 11/238,085 entitled “METHOD AND SYSTEM FORPERFORMING MEMORY COPY FUNCTION ON A CELL PROCESSOR” to Antoine LabourJohn P. Bates and Richard B. Stenson, which is filed the same day as thepresent application, the entire disclosures of which are incorporatedherein by reference.

FIELD OF THE INVENTION

Embodiments of the present invention are directed to parallel processingand more particularly to management of processing tasks and data in acell processor.

BACKGROUND OF THE INVENTION

Cell processors are a type of microprocessor that utilizes parallelprocessing. The basic configuration of a cell processor includes a“Power Processor Element” (“PPE”) (sometimes called “ProcessingElement”, or “PE”), and multiple “Synergistic Processing Elements”(“SPE”). The PPEs and SPEs are linked together by an internal high speedbus dubbed “Element Interconnect Bus” (“EIB”). Cell processors aredesigned to be scalable for use in applications ranging from the handheld devices to main frame computers.

A typical cell processor has one PPE and up to 8 SPE. Each SPU istypically a single chip or part of a single chip containing a mainprocessor and a co-processor. All of the SPUs and the PPU can access amain memory, e.g., through a memory flow controller (MFC). The SPUs canperform parallel processing of operations in conjunction with a programrunning on the main processor. The SPUs have small local memories(typically about 256 kilobytes) that must be managed by software—codeand data must be manually transferred to/from the local SPU memories.For high performance, this code and data must be managed from SPUsoftware (PPU software involvement must be minimized). There are manytechniques for managing code and data from the SPU. Often, differenttechniques for managing code and data from the SPU need to operatesimultaneously on a cell processor. There are many programming modelsfor SPU-driven task management. Unfortunately, no single task system isright for all applications.

Cell processors are used in applications such as vertex processing forgraphics. The processed vertex data may then be passed on to a graphicscard for pixel processing. In vertex processing, a cell processor may becalled upon to draw a number of polygons. Each polygon is defined bythree or more vertices. Handling of such vertex data may be problematicin situations where a large number of vertices need to be processed. Forexample, a cell processor may be called upon to draw 10,000 polygons. Ifeach polygon requires three vertices the cell processor must process30,000 vertices. If each vertex requires 32 bytes of data the 10,000polygons will require 960 kilobytes. Unfortunately this is larger thanthe local storage capacity of a typical SPU (typically about 256kilobytes).

Thus, there is a need in the art, for a method and system fordistributing cell processor tasks and managing cell processor data in away that addresses such problems.

BRIEF DESCRIPTION OF THE DRAWINGS

The teachings of the present invention can be readily understood byconsidering the following detailed description in conjunction with theaccompanying drawings, in which:

FIG. 1 is a schematic diagram of a cell broadband engine architectureimplementing Cell Task and Data Management according to an embodiment ofthe present invention.

FIG. 2 is a schematic diagram of a cell processor-based system accordingto an embodiment of the present invention.

FIG. 3A is a block diagram illustrating division of a large render eventaccording to an embodiment of the present invention.

FIG. 3B is a block diagram illustrating division of a large and a smallrender event according to an embodiment of the present invention.

FIGS. 4A-4C are a sequence block diagrams illustrating processing of anevent according to an embodiment of the present invention.

FIG. 5 is a block diagram illustrating buffering of segments and groupsaccording to an embodiment of the present invention.

FIGS. 6A-6B are a sequence of block diagrams illustrating processing ofan event in a cell-based processor system according to an embodiment ofthe present invention.

DESCRIPTION OF THE SPECIFIC EMBODIMENTS

Although the following detailed description contains many specificdetails for the purposes of illustration, anyone of ordinary skill inthe art will appreciate that many variations and alterations to thefollowing details are within the scope of the invention. Accordingly,the exemplary embodiments of the invention described below are set forthwithout any loss of generality to, and without imposing limitationsupon, the claimed invention.

Embodiments of the present invention are directed to cell processor taskand data management (CTDM). In embodiments of the invention large tasks,referred to as events are managed by dividing them up into segments thatcan fit into the local store of a cell processor's synergisticprocessing elements (SPE). Each of the segments is tasked by 1 SPU at atime. Two or more segments may be associated together into one or moregroups due to memory constraints on an output processor, such as agraphics card that processes the resulting output from the SPU. EachGroup may therefore be regarded as the resulting output from theprocessing of one or more Segments by the SPU.

In embodiments of the present invention cell data management relies onthe fact that SPUs can handle their own direct memory access (DMA)transfers of data in or out of local storage. CTDM can set Task commandsin main memory. Semaphores may be used to lock data while writing newcommands by PU and accessing data by SPUs. SPUs can pull commands from acommand list through the same semaphore interface to prevent raceconditions with other SPUs and PU. By allowing SPUs to pull new commandswhen they are done they will always remain active. This will help toensure consistent peak efficiency even when the data varies inconfiguration. Commands for the output processor can be set in thecommand list as well. The cell processor SPUs can pull these commandsthrough in order and pass them on to the output processor.

By way of example, and without limitation, FIG. 1 illustrates a type ofcell processor 100 characterized by an architecture known as CellBroadband engine architecture (CBEA)—compliant processor. A cellprocessor can include multiple groups of PPEs (PPE groups) and multiplegroups of SPEs (SPE groups) as shown in this example. Alternatively, thecell processor may have only a single SPE group and a single PPE groupwith a single SPE and a single PPE. Hardware resources can be sharedbetween units within a group. However, the SPEs and PPEs must appear tosoftware as independent elements.

In the example depicted in FIG. 1, the cell processor 100 includes anumber of groups of SPEs SG-0 . . . SG_n and a number of groups of PPEsPG_0 . . . PG_p. Each SPE group includes a number of SPEs SPE0 . . .SPEg. The cell processor 100 also includes a main memory MEM and aninput/output function I/O.

Each PPE group includes a number of PPEs PPE_0 . . . PPE_g SPE. In thisexample a group of SPEs shares a single cache SL1. The cache SL1 is afirst-level cache for direct memory access (DMA) transfers between localstorage and main storage. Each PPE in a group has its own first level(internal) cache L1. In addition the PPEs in a group share a singlesecond-level (external) cache L2. While caches are shown for the SPE andPPE in FIG. 1, they are optional for cell processors in general and CBEAin particular.

An Element Interconnect Bus EIB connects the various components listedabove. The SPEs of each SPE group and the PPEs of each PPE group canaccess the EIB through bus interface units BIU. The cell processor 100also includes two controllers typically found in a processor: a MemoryInterface Controller MIC that controls the flow of data between the EIBand the main memory MEM, and a Bus Interface Controller BIC, whichcontrols the flow of data between the I/O and the EIB. Although therequirements for the MIC, BIC, BIUs and EIB may vary widely fordifferent implementations, those of skill in the art will be familiartheir functions and circuits for implementing them.

Each SPE includes an SPU (SPU0 . . . SPUg). Each SPU in an SPE group hasits own local storage area LS and a dedicated memory flow controller MFCthat includes an associated memory management unit MMU that can hold andprocess memory-protection and access-permission information.

The PPEs may be 64-bit PowerPC Processor Units (PPUs) with associatedcaches. A CBEA-compliant system includes a vector multimedia extensionunit in the PPE. The PPEs are general-purpose processing units, whichcan access system management resources (such as the memory-protectiontables, for example). Hardware resources defined in the CBEA are mappedexplicitly to the real address space as seen by the PPEs. Therefore, anyPPE can address any of these resources directly by using an appropriateeffective address value. A primary function of the PPEs is themanagement and allocation of tasks for the SPEs in a system.

The SPUs are less complex computational units than PPEs, in that they donot perform any system management functions. They generally have asingle instruction, multiple data (SIMD) capability and typicallyprocess data and initiate any required data transfers (subject to accessproperties set up by a PPE) in order to perform their allocated tasks.The purpose of the SPU is to enable applications that require a highercomputational unit density and can effectively use the providedinstruction set. A significant number of SPUs in a system, managed bythe PPEs, allow for cost-effective processing over a wide range ofapplications. The SPUs implement a new instruction set architecture.

MFC components are essentially the data transfer engines. The MFCprovides the primary method for data transfer, protection, andsynchronization between main storage of the cell processor and the localstorage of an SPE. An MFC command describes the transfer to beperformed. A principal architectural objective of the MFC is to performthese data transfer operations in as fast and as fair a manner aspossible, thereby maximizing the overall throughput of a cell processor.Commands for transferring data are referred to as MFC DMA commands.These commands are converted into DMA transfers between the localstorage domain and main storage domain.

Each MFC can typically support multiple DMA transfers at the same timeand can maintain and process multiple MFC commands. In order toaccomplish this, the MFC maintains and processes queues of MFC commands.The MFC can queue multiple transfer requests and issues themconcurrently. Each MFC provides one queue for the associated SPU (MFCSPU command queue) and one queue for other processors and devices (MFCproxy command queue). Logically, a set of MFC queues is alwaysassociated with each SPU in a cell processor, but some implementationsof the architecture can share a single physical MFC between multipleSPUs, such as an SPU group. In such cases, all the MFC facilities mustappear to software as independent for each SPU. Each MFC DMA datatransfer command request involves both a local storage address (LSA) andan effective address (EA). The local storage address can directlyaddress only the local storage area of its associated SPU. The effectiveaddress has a more general application, in that it can reference mainstorage, including all the SPU local storage areas, if they are aliasedinto the real address space (that is, if MFC_SR1[D] is set to ‘1’).

An MFC presents two types of interfaces: one to the SPUs and another toall other processors and devices in a processing group. The SPUs use achannel interface to control the MFC. In this case, code running on anSPU can only access the MFC SPU command queue for that SPU. Otherprocessors and devices control the MFC by using memory-mapped registers.It is possible for any processor and device in the system to control anMFC and to issue MFC proxy command requests on behalf of the SPU. TheMFC also supports bandwidth reservation and data synchronizationfeatures. To facilitate communication between the SPUs and/or betweenthe SPUs and the PPU, the SPEs and PPEs may include signal notificationregisters that are tied to signaling events. Typically, the PPEs andSPEs are coupled by a star topology in which the PPE acts as a router totransmit messages to the SPEs. Such a topology does not provide fordirect communication between SPEs. Instead each SPE and each PPE has aone-way signal notification register referred to as a mailbox. Themailbox can be used for SPE to host OS synchronization.

The IIC component manages the priority of the interrupts presented tothe PPEs. The main purpose of the IIC is to allow interrupts from theother components in the processor to be handled without using the mainsystem interrupt controller. The IIC is really a second levelcontroller. It is intended to handle all interrupts internal to aCBEA-compliant processor or within a multiprocessor system ofCBEA-compliant processors. The system interrupt controller willtypically handle all interrupts external to the cell processor.

In a cell processor system, software often must first check the IIC todetermine if the interrupt was sourced from an external system interruptcontroller. The IIC is not intended to replace the main system interruptcontroller for handling interrupts from all I/O devices.

There are two types of storage domains within the cell processor: localstorage domain and main storage domain. The local storage of the SPEsexists in the local storage domain. All other facilities and memory arein the main storage domain. Local storage consists of one or moreseparate areas of memory storage, each one associated with a specificSPU. Each SPU can only execute instructions (including data load anddata store operations) from within its own associated local storagedomain. Therefore, any required data transfers to, or from, storageelsewhere in a system must always be performed by issuing an MFC DMAcommand to transfer data between the local storage domain (of theindividual SPU) and the main storage domain, unless local storagealiasing is enabled.

An SPU program references its local storage domain using a localaddress. However, privileged software can allow the local storage domainof the SPU to be aliased into main storage domain by setting the D bitof the MFC_SR1 to ‘1’. Each local storage area is assigned a realaddress within the main storage domain. (A real address is either theaddress of a byte in the system memory, or a byte on an I/O device.)This allows privileged software to map a local storage area into theeffective address space of an application to allow DMA transfers betweenthe local storage of one SPU and the local storage of another SPU.

Other processors or devices with access to the main storage domain candirectly access the local storage area, which has been aliased into themain storage domain using the effective address or I/O bus address thathas been mapped through a translation method to the real address spacerepresented by the main storage domain.

Data transfers that use the local storage area aliased in the mainstorage domain should do so as caching inhibited, since these accessesare not coherent with the SPU local storage accesses (that is, SPU load,store, instruction fetch) in its local storage domain. Aliasing thelocal storage areas into the real address space of the main storagedomain allows any other processors or devices, which have access to themain storage area, direct access to local storage. However, sincealiased local storage must be treated as non-cacheable, transferring alarge amount of data using the PPE load and store instructions canresult in poor performance. Data transfers between the local storagedomain and the main storage domain should use the MFC DMA commands toavoid stalls.

The addressing of main storage in the CBEA is compatible with theaddressing defined in the PowerPC Architecture. The CBEA builds upon theconcepts of the PowerPC Architecture and extends them to addressing ofmain storage by the MFCs.

An application program executing on an SPU or in any other processor ordevice uses an effective address to access the main memory. Theeffective address is computed when the PPE performs a load, store,branch, or cache instruction, and when it fetches the next sequentialinstruction. An SPU program must provide the effective address as aparameter in an MFC command. The effective address is translated to areal address according to the procedures described in the overview ofaddress translation in PowerPC Architecture, Book III. The real addressis the location in main storage which is referenced by the translatedeffective address. Main storage is shared by all PPEs, MFCs, and I/Odevices in a system. All information held in this level of storage isvisible to all processors and to all devices in the system. This storagearea can either be uniform in structure, or can be part of ahierarchical cache structure. Programs reference this level of storageusing an effective address.

The main memory of a system typically includes both general-purpose andnonvolatile storage, as well as special-purpose hardware registers orarrays used for functions such as system configuration, data-transfersynchronization, memory-mapped I/O, and I/O subsystems. There are anumber of different possible configurations for the main memory. By wayof example and without limitation, Table I lists the sizes of addressspaces in main memory for a particular cell processor implementationknown as Cell Broadband Engine Architecture (CBEA).

TABLE I Address Space Size Description Real Address 2^(m) bytes where m≦ 62 Space Effective 2⁶⁴ bytes An effective address is translated to avirtual Address address using the segment lookaside buffer Space (SLB).Virtual 2^(n) bytes where 65 ≦ 80 Address A virtual address istranslated to a real address Space using the page table. Real Page 2¹²bytes Virtual Page 2^(p) bytes where 12 ≦ p ≦ 28 Up to eight page sizescan be supported simultaneously. A small 4-KB (p = 12) page is alwayssupported. The number of large pages and their sizes areimplementation-dependent. Segment 2²⁸ bytes The number of virtualsegments is 2(n − 28) where 65 ≦ n ≦ 80 Note: The values of “m,” “n,”and “p” are implementation-dependent.

The cell processor 100 may include an optional facility for managingcritical resources within the processor and system. The resourcestargeted for management under the cell processor are the translationlookaside buffers (TLBs) and data and instruction caches. Management ofthese resources is controlled by implementation-dependent tables.

Tables for managing TLBs and caches are referred to as replacementmanagement tables RMT, which may be associated with each MMU. Althoughthese tables are optional, it is often useful to provide a table foreach critical resource, which can be a bottleneck in the system. An SPEgroup may also contain an optional cache hierarchy, the SL1 caches,which represent first level caches for DMA transfers. The SL1 caches mayalso contain an optional RMT.

A cell processor task and data management (CTDM) program 102 may bestored in the main memory MEM and/or executed on PPU of one of the PPEgroups. The CTDM program 102 divides large tasks that require morememory space than is available on a given SPE, referred to herein asprocessing events 104, into smaller sized chunks, referred to assegments 106. The CTDM program 102 then builds a command list 108containing instructions pertaining to the processing of the segments106. Each segment 106 is characterized by a size that is less than orequal to available size in the LS of an SPE. The SPE process thesegments according to the command list 108 and produce correspondingoutputs which may be in the form of one or more groups 110 with eachgroup having output produced from processing of related segments 106.

The foregoing is intended to provide an introduction and description ofthe terminology used in cell processor implementations. The foregoingdiscussion is also intended to set forth a context for data structuresand methods according to embodiments of the present invention. Suchembodiments are not limited to implementation on or with cell processorshaving the architecture described above. However, any or all of theembodiments described below may be implemented using such cellarchitecture as an environment in which a CTDM may be encountered andutilized.

FIG. 2 depicts an example of a cell processor-based system 200configured to implement CTDM according to an embodiment of the presentinvention. For the purposes of illustration, the system includes a cellprocessor 201 and an output processor 214. The cell processor 201includes a main memory 202, a single PPE 204 and eight SPEs 206.However, the cell processor 201 may be configured with any number ofSPE's. With respect to FIG. 2, the memory, PPE, and SPEs can communicatewith each other and with an I/O device 208 over a ring-type elementinterconnect bus 210.

The CTDM program 205 may use semaphores to lock data while the PPE 204writes new commands and the SPU access data. The SPUs pull commands froma command list 211 in main memory 202 though the same semaphoreinterface to prevent race conditions with other SPUs and PPE 204. Byallowing SPUs to pull new commands when they are done they will alwaysremain active. This will help to ensure consistent peak efficiency evenwhen the data varies in configuration. The command list 211 may alsocontain commands for the output processor 214. The SPUs of the cellprocessor 201 can pull these commands through in order as a group 212and pass them on to the output processor 214.

The output processor 214 processes the groups from the cell processor201. The size of the groups is generally determined by a target inputsize for the output processor. For example, the output processor mayhave an I/O buffer that can handle 512 kilobytes of data while eachoutput segment is only 32 kilobytes. Thus each output group mightcontain 16 output segments.

By way of example the system 200 can be used in a Graphics API that isflexible, efficient, and easy to use. In such a case, the outputprocessor 214 may be a graphics card, such as Model NV40, NV45, or NV47available from Nvidia Corporation of Santa Clara Calif.

The PPE 204 executes a CTDM program 205 that manages SPU tasks and dataas discussed below. Preferably, the CTDM program 205 is flexible enoughto handle small and large small events. It is also desirable for theCTDM program 205 to be efficient in its management of those events onthe SPUs and output processor. It is also desirable for the CTDM program205 to ensure efficiency by extending the system 200 to support deferredprocessing for streaming data.

To illustrate the importance of such flexibility and efficiency,reference will be made to an example wherein the event is a large renderevent 301 for vertex data 303 that is to be processed by the cellprocessor 201 before being sent to a graphics card for furtherprocessing, e.g., pixel processing such as shading. Such shading may beaccomplished with well-known shading software, such as CG. FIG. 3Aillustrates the processing of a CTDM-based render event in the form of aDraw Call 302. Such a render event may involve translating, rotating orchanging the view of a video game character represented by a set ofvertices. In the example depicted in FIG. 3A, the Draw Call 302 is aninstruction to process a large amount of vertex data, i.e., more thancan be processed by one SPU at one time.

At 304 the CTDM program subdivides the large render event 301 into anumber of segments and associates subsets of these segments into groups.Specifically, Segments 1 through 4 are associated into Group 1 andSegments 5 through 8 are associated into Group 2. The CTDM program 205distributes these segments among the available SPU of the cell processor201. The distribution of the segments to the SPU is dependent on SPUavailability. Logically separating the vertex data 303 in the event 301into segments, one segment for a single SPU Task, and then combining thesegments into Render Groups represents data for 1 SPU parallel job. Suchseparation of tasks allows for parallel tasking and also accommodationof the limited memory available on a single SPU.

To efficiently distribute the segments among the available SPU withoutburdening the PPE 204 the CTDM program creates the command list 305. Thecommand list provides addresses for the code for the SPU to perform thenecessary rendering of the vertex data as well as addresses for therequisite data for each segment. The SPU can then access the code anddata as they become available. The SPU process the vertex data in eachsegment in parallel and pass the resulting output data to the outputprocessor (graphics card) 214. Commands for the Graphics Card 214 arealso set in the command list 305. The SPUs of the cell processor 201 cansimply pull them through in order and pass them on to the Graphics Card214. For example, once the last segment in a group has been passed tothe graphics card, the SPU that passed that data may pull “kick” commandthat instructs the graphics card to begin processing the group.

FIG. 3B illustrates CTDM-based processing of a small render event 311and a large render event 321. Here there was only enough data for oneSPU Task from the Small Event 311 so only one SPU is used. In this case,the output group contains the output from processing only one segment.The large event 321 is divided into two groups of four segments each andpart of its data can be set to run on 4 SPUs in Parallel with the oneprocessing the Small Render Event 311. This way one small Event of withrelatively little data doesn't stall the system 200 and every SPU cantask as much data per DMA transfer as it can handle. This would not bethe case if the Small Event was divided among SPUs.

The distribution of segments amongst the SPU is generally most efficientif the number of available SPU is the same as the number of segments.This is not always possible, so the CTDM program 205 allows theavailable SPU to parallel process large events that have more segmentsthan available SPUs. FIGS. 4A-4C illustrate an example of such aparallel processing. Again, a vertex draw call for a graphics API isillustrated for the purpose of example. Specifically, as shown in FIG.4A, in response to a Draw Call 402, the CTDM program 205 divides a largerender event 401 into 8 render segments and generates a command list 405that tells the SPU where to find the code and data for processing thesegments. Due to limitations of a graphics card 406 the segments aredivided into two groups.

In this example, it is assumed that only three SPU are available forprocessing the render event 401. SPU1 takes the first command from thecommand list 405, which is a setup command for group 1. The setupcommand contains a list of any special data associated with thisparticular group that needs to be passed on to any other processor thatneeds to know details about the group. In the case of a graphicsexample, such special data may include textures and render states suchas lights and transformations that are not necessarily needed by the SPUsegments to be processed, but are needed by the resulting graphics cardor other processor that is waiting for the output of the SPU segmentdata that is in that group. SPU1, SPU2 and SPU3 then take tasks forsegments 1, 2 and 3. These task commands tell the SPU where to find thedata and code for processing it. If an SPU already has the necessarycode loaded in its local store it can skip loading the code. Afterprocessing segments 1, 2 and 3, the SPU transfer the resulting output tothe graphics card 406. However, since not all of group 1 has beenprocessed the graphics card 406 does not yet begin processing them.However, since SPU 1, SPU2 and SPU3 are finished with processingsegments 1, 2 and 3 they are available for other tasks.

As shown in FIG. 4B, SPU1 processes task segment 4 and, after doing so,pulls the kick command for group 1 and passes it on to the graphics card406, which begins processing group 1. Meanwhile, SPU2 and SPU3 havepulled task segments 5 and 6 respectively and begin processing them.Once task segments 5 and 6 and complete the resulting output is passedto a buffer on the graphics card 406 to await processing when group 2 isready.

As shown in FIG. 4C SPU1 pulls task segment 7 and SPU2 pulls tasksegment 8. When processing of these task segments is complete, thecorresponding outputs of these segments are transferred to the buffer onthe graphics card 406. Since SPU2 pulled task segment 8, the lastsegment in group 2, SPU2 next pulls the group 2 kick command, which ispassed on to the graphics card 406 after DMA has been completed forsegment 8.

It should be noted that in this example, the task segments wereprocessed in order. This is not strictly necessary. However, to ensureefficient operation, it is desirable for the SPU keep track of whichtask has been completed and which has not. That way, the SPU processingthe last unprocessed task segment of a group can determine that it mustsend the kick command to the graphics card. To this end it is desirablefor the cell processor 201 to include in memory 202 a notificationboard. By routinely querying and updating the notification board, theSPU can determine whether additional segments require processing and/orwhether a particular group is done. The notification board could beorganized as shown in Table II below.

TABLE II WHO STATUS TASK GROUP GROUP STATUS SPU1 Done Segment 4 1 DoneSPU2 Working Segment 5 2 Not Done SPU3 Working Segment 6 2 Not Done NONEWaiting Segment 7 2 Not Done NONE Waiting Segment 8 2 Not Done NONE DoneSegment 1 1 Done NONE Done Segment 2 1 Done NONE Done Segment 3 1 Done

Table I represents a snapshot of the process as shown in FIG. 4B.Specifically, Tasks 1, 2, 3 and 4 have been completed and group 1 is nowdone. Segment 8 still awaits processing. The “done” in the group statuscolumn for SPU1 indicates to SPU1 that it must issue the “kick group 1”command to the graphics card 406. The value “none” in the “who” columnfor tasks 1, 2 and 3 column indicates that no SPU is working on thesetasks since they are done. Similarly, the “none” in the “who” column fortasks 7 and 8 indicates that no SPU is working on these tasks since theyhave not yet been processed, as indicated by the “waiting” value in the“status” column.

In a cell processor each SPU can process data while simultaneouslytransferring other data into or out of local storage. To facilitateefficient processing of the task segments by the SPU it is desirable totake advantage of this capability by buffering the data in the tasksegments. FIG. 5 illustrates one possible example, among others, of howsuch buffering might work. In this example, a large render event 501 hasbeen divided into 8 segments of vertex data for processing on a cellprocessor. By way of example, and without limitation, an SPU 502 on thecell processor may do Quad buffering of the segments to allow forinterleaved SPU task tasking and DMA transfers. The resulting vertexdata that are output from the SPU 502 are double buffered in a graphicscard memory 504 in one or more groups. Alternatively, ring buffering maybe used on the graphics card memory 504.

Buffering of the render segments may proceed in the following order. Asindicated at 1, Render segment 1 is loaded into buffer A1 of the SPUlocal storage. This task data is processed and the resulting output isstored in buffer A2 of the SPU local storage as indicated at 2. Whilerender segment 1 is being processed by the SPU 502, render segment 3 canbe loaded into buffer B1, e.g., by direct memory access (DMA) asindicated at 3. When the SPU 502 is finished processing render segment1, the corresponding output is transferred to buffer A2 of the graphicscard memory 504 as indicated at 4. While the output from segment 1 isbeing transferred, the SPU 502 can process render segment 2 and storethe resulting output in buffer B2 as indicated at 5. While the SPU 502processes render segment 2, render segment 3 can be transferred by DMAto buffer A1 as indicated at 6. If the SPU 502 is finished processingrender segment 2, it can transfer the resulting output to buffer B2 ofthe graphics card memory 504 as render segment 3 is being loaded intobuffer A1. Once the graphics card memory 504 contains a full group, thegroup of vertex data can be passed on to the graphics processor 506,e.g., for pixel processing such as shading.

FIG. 5 shows how segments are buffered into and out of a single SPU. Totake full advantage of the computational efficiency inherent in cellprocessors, it is desirable to process segments in parallel on multipleSPU. Such parallel processing is included within the scope ofembodiments of the present invention. For example, the diagrams depictedin FIGS. 6A-6B illustrate how 3 SPUs that can do parallel processing ofrender event data organized into 4 Render Groups for 4 Parallel Jobs.The render groups are organized in the main memory 602 of a cellprocessor 600. The main memory 602 may further include a command list604 that lists the various commands necessary for performing the renderevent. These commands include a render event setup command, rendercommands for each segment and kick render commands for each group, whichmay be implemented as discussed above. The memory 604 may furthercontain a notification board 606 of the type described above.

First, as shown in FIG. 6A Segments 1, 2 and 3 of Render Group 1 are DMAtransferred by SPU1, SPU2 and SPU3 into their respective buffers A1 asindicated by the dashed arrows at 601. Then SPU1, SPU2 and SPU3 vertexprocess segments 1, 2 and 3 from buffer A1 to Buffer A2 as indicated bythe solid arrows at 603. In this process the segment data stored inbuffer A1 is processed and the resulting output is stored in buffer A2.While the vertex Tasking 603 is going on Segments 4, 5 and 6 of RenderGroup 2 are transferred by DMA to B1 SPU buffers as indicated by thedashed arrows at 605. At this point the notification board 606 may berepresented as shown in Table III.

TABLE III WHO TASK STATUS TASK GROUP GROUP STATUS SPU1 Working Segment 11 Not Done SPU2 Working Segment 2 1 Not Done SPU3 Working Segment 3 1Not Done SPU1 Working Segment 4 2 Not Done SPU2 Working Segment 5 2 NotDone SPU3 Working Segment 6 2 Not Done NONE Waiting Segment 7 3 Not DoneNONE Waiting Segment 8 3 Not Done NONE Waiting Segment 9 3 Not Done NONEWaiting Segment 10 4 Not Done NONE Waiting Segment 11 4 Not Done NONEWaiting Segment 12 4 Not Done

In this example, the “working” status applies to any task segment thathas been loaded into an SPU whether it is being processed by the SPU ornot.

Once buffer A1, A2 tasking is done on SPU1, SPU2 and SPU3 the resultingoutput data can be sent to the Graphics Card by DMA as indicated by thesolid arrows at 607 in FIG. 6B. If the Graphics Card's current buffercontains a completed group it can process the completed group, e.g., bydoing pixel tasking and rendering of the group vertex data. For example,the SPU that finishes the last segment in group 1 passes the kick rendergroup 1 command from the command list. The SPUs can continue to do moreRender Groups and DMA transfer data to the buffer B of the graphicsprocessor 610. For example while tasking segments 4, 5, and 6 from B1 toB2 buffers, SPU1, SPU2 and SPU3 may respectively DMA transfer segments7, 8 and 9 into their A1 buffers as indicated by the dashed arrows at609. When segments 4, 5 and 6 are finished processing the resultingoutputs may be transferred to the Graphics Card's buffer B and processsegments 6, 7 and 8. While SPU1, SPU2 and SPU3 process these segments,they may DMA transfer segments 10, 11 and 12 into their B1 buffers asindicated by the dashed arrows at 611. At this point the notificationboard 606 may be represented as shown in Table IV.

TABLE IV WHO TASK STATUS TASK GROUP GROUP STATUS SPU1 Done Segment 1 1Done SPU2 Done Segment 2 1 Done SPU3 Done Segment 3 1 Done SPU1 DoneSegment 4 2 Done SPU2 Done Segment 5 2 Done SPU3 Done Segment 6 2 DoneSPU1 Working Segment 7 3 Not Done SPU2 Working Segment 8 3 Not Done SPU3Working Segment 9 3 Not Done SPU1 Working Segment 10 4 Not Done SPU2Working Segment 11 4 Not Done SPU3 Working Segment 12 4 Not Done

Note that in this example, the “who” column of the notification boardretains the identity of the SPU that processed a segment afterprocessing is complete.

Note also that for the sake of simplicity this example shows SPUsfilling up Graphics Card buffers one SPU Task pass. In actual practiceit might take several render groups to complete one Render Event.

In the foregoing discussions it has been stated that large events aredivided into segments. The size of these segments depends partly on theevent size and the available storage in an SPU. Part of the process ofdividing a large event into segments involves determining the size andnumber of these segments. A numerical example is helpful to illustratehow this is done. By way of example and without limitations suppose thata “Processing Event” with a large amount of data pasted to the CELLProcess and Data Manager to be processes has the following attributes:

-   -   1. SPU CTDM Loader Program occupies 16 kilobytes (16*1024        bytes).    -   2. The vertex process requires two SPU process programs each        taking up 20 kilobytes.    -   3. The total amount of Data in the event is 1 MegaByte.        (1*1024*1024 bytes)    -   4. Each individual input element is 32 bytes (this could be a        vertex, just a set of xyz vectors, or something else all        together)    -   5. Each individual output element is 48 bytes (this is the        output vertex, just a set processed vector, or something else as        well)    -   6. The size of SPU local store is 256 kilobytes (256*1024 bytes)

In general, the process event will include other information, such asthe memory location of the original data, the memory location of wherethe data needs to go and other “Process Event” specific data that needsto be kept associated with the output. Such information may be regardedas a black box of event-specific data. However, these have not beenincluded in this example for the sake of simplicity.

The CTDM program evaluates the Process Event based on these arbitraryparameter constraints in the SPU. In this example, it is assumed thatthe SPU will use quad buffering, however the CTDM SPU memoryconfiguration is flexible and could support a triple or ring bufferconfiguration as well as the quad buffering that is described here.

First, CTDM determines the space taken up by the programs, which include16K for CTDM SPU Loader +20K for Process Program 1 +20 k Process Program2=(56K for Programs including the Loader.) Subtracting this 56K from the256K local store leaves 200K available for buffers. Since there will befour buffers this leaves 200K/4 buffers=50 K per buffer.

The CTDM program must ensure that the inputs and outputs of a segmentwill fit in a 50 K buffer. It is generally desirable to providesufficient space for both input and output when the size of the outputis larger than the size of the input data. In this case the output datacannot be written directly over the input data that is already in place.Also if there are interdependencies in the data where some parts of thedata might be needed to complete the full calculation. Examples of suchinterdependencies occur, e.g., in spline-based surface generation orpolygon-based subdivision surface calculation where all the vertexpoints can have an effect on every single output. In such cases theinput data cannot be over written during the calculation. If therearen't any interdependencies and the input data is larger or the samesize as the output only one buffer is needed that would serve as boththe input and output buffer. CTDM can handle this case as well.

By way of example, the CTDM may create segments of data based on thefollowing calculation:

SPUIOBufferSize=51200 bytes; (50*1024 bytes) (SPU Input+Output buffersize)

InputElementSize=32 bytes; (Item 4 above; )

OutputElementSize=48 bytes; (Item 5 above)

//Need to first find out how many full elements can fit into one bufferinput+output.

NbrOfElementsPerSegment=SPUIOBufferSize/(InputElementSize+OutputElementSize)

NbrOfElementsPerSegment=640;

ActualSegmentSize=NbrOfElementsPerSegment*(InputElementSize+OutputElementSize)

//In this case the actual size is the same size as the buffer, but mostof the time this will not be the case

ActualSegmentSize=50 k (or 51200 bytes);

NbrOfSegments=TotalDataSize/ActualSegmentSize;

NbrOfSegments=1*1024 bytes*1024 bytes/51200 bytes;

NbrOfSegments=20; //this in an integer variable. The remainder istruncated

//If there is a remainder then we need to add one more segment for theremainder to be processed. The following code determines if there is aremainder and adds one more segment for that remaining data.

if ( TotalDataSize % ActualSegmentSize ) // the % is called a modulusand is returns the remainder of an integer divide  NbrOfSegments =NbrOfSegments + 1; NbrOfSegments = 21;

It will take 21, (actually(20.48)) segments of data given theconfiguration above of the SPU and the input and output data sizes bythe CTDM to process the 1 megabyte of data dynamically on the SPU. Notethough that the above calculation does not consider the grouping of thesegments because it is basically not relevant to the SPU segmentgeneration. The grouping comes as a second calculation given the outputtarget's limitations. For instance there might be only a 256 k buffer toput data in coming form the SPU. This calculation involves very similarmath, but takes into account different parameters.

TargetDataSize=256 k; (256*1024 bytes)

//to determine how many segments go in to a group we only need theoutput sizes because that is all that is going to the Target Ouput ofthe Graphics Card memory buffer for example.

NbrGroups=TargetDataSize/(NbrOfElementsPerSegment*OutputElementSize);(output elements size from item 5 above)

NbrGroups=262144 bytes/(640*48 bytes);

NbrGroups=8: //remainder is truncated

//As in the segment number calculation CTDM checks for a remainder andadds another group if needed:

if (TargetDataSize % (NbrOfElementsPerSegment*OutputElementSize)) NbrGroups = NbrGroups + 1;

As can be seen from the above calculations, 9 groups of segments of dataare required for the CTDM to process 1 megabyte of data dynamically onthe SPU given the above SPU memory constraints and the input and outputdata sizes. The above-described process is referred to herein as the“Data Delegation” portion of the CTDM.

Those of skill in the art will recognize that many variations arepossible on the embodiments set forth herein. For example differentnumbers of SPUs may be used or multiple groups of SPU and PPE may beused depending on the cell architecture. Furthermore, although the abovediscussion mentions vertex processing on a cell processor in conjunctionwith pixel processing on a graphics card, the embodiments of theinvention are in no way limited to such applications. Those of skill inthe art will be able to devise many other different applications of celltask and data management consistent with the teachings herein.

Also embodiments of CTDM don't necessarily have to reside on a PPU.Instead CTDM may be run in a special capacity on an SPE (referred to asa Data Management SPE). Such a configuration could potentially be moreefficient in some cases as it would allow for the PPU to continue almostcompletely uninterrupted except for tasking the predetermined “DataManagement SPE” with the overall processing Event. The PPU would nothave to deal with delegation of processes into Segments and Groups foreach SPE. The Data Management SPU could signal the PPU when the overallProcessing Event is complete, including all segments and groups. TheData Management SPE could also update a completion key for that overallevent allowing the PPU to check that key for completion at its leisure.These two possibilities would allow for efficient notification for bothProcessing Events with both large and small amounts of data associatedwith them.

While the above is a complete description of the preferred embodiment ofthe present invention, it is possible to use various alternatives,modifications and equivalents. Therefore, the scope of the presentinvention should be determined not with reference to the abovedescription but should, instead, be determined with reference to theappended claims, along with their full scope of equivalents. Any featuredescribed herein, whether preferred or not, may be combined with anyother feature described herein, whether preferred or not. In the claimsthat follow, the indefinite article “A”, or “An” refers to a quantity ofone or more of the item following the article, except where expresslystated otherwise. The appended claims are not to be interpreted asincluding means-plus-function limitations, unless such a limitation isexplicitly recited in a given claim using the phrase “means for.”

1. A method for cell processor task and data management, comprising thesteps of: dividing a cell processor event into two or more segments,wherein the event requires more memory space than is available in alocal storage of a synergistic processing element (SPE) of the cellprocessor, and wherein each segment has a segment size that is less thanor the same as an amount of memory space available in the local storage;processing the two or more segments with one or more SPE of the cellprocessor to produce two or more corresponding outputs; and associatingthe two or more outputs into one or more groups wherein associating thetwo or more outputs into one or more groups includes calculating anumber of groups based on a number of elements per segment, an outputelement size and a target data size associated with a subsequentprocess.
 2. The method of claim 1, further comprising using the groupsas input for another processor.
 3. The method of claim 2 wherein theother processor is a graphics card.
 4. The method of claim 1 wherein thecell processor event is a vertex rendering event.
 5. The method of claim1, further comprising associating the two or more outputs into one ormore groups, wherein each group is less than or equal to a target datasize associated with a subsequent process.
 6. The method of claim 5wherein the subsequent process includes performing the process on agroup of one or more segments stored in a first buffer while loadinganother group into a second buffer.
 7. The method of claim 5 wherein thecell processor event is a vertex rendering event and the subsequentprocess is a pixel rendering event.
 8. The method of claim 5 wherein thepixel rendering event includes a pixel shading process.
 9. The method ofclaim 1 wherein processing the two or more segments with one or more SPEincludes processing a first segment on a first SPE and processing asecond segment on a second SPE.
 10. The method of claim 1 furthercomprising associating the two or more outputs into one or more groups,wherein each group is less than or equal to a target data sizeassociated with a subsequent process, wherein processing the two or moresegments with one or more SPE includes processing each segment in agroup with a different SPE.
 11. The method of claim 1 wherein processingthe two or more segments with one or more SPE includes loading a segmentinto a buffer and processing the segment while transferring anothersegment into and/or out of one or more other buffers.
 12. The method ofclaim 1 wherein processing the two or more segments includes pulling oneor more commands from a command list, wherein the command includesinstructions processing one or more segments.
 13. The method of claim 1wherein processing the two or more segments includes quad buffering thesegments and corresponding outputs.
 14. The method of claim 1 whereinthe segment size is less than or equal to a local store buffer size. 15.The method of claim 1 wherein dividing the cell processor event into twoor more segments includes determining the segment size based on a localstore buffer size, an event size an input element size and an outputelement size.
 16. The method of claim 1 wherein dividing the cellprocessor event into two or more segments includes determining a numberof segments into which to divide the processor event based on a totalevent size and the segment size.
 17. The method of claim 1 wherein eachgroup requires an amount of memory that is less than or equal to atarget data size associated with a subsequent process.
 18. A method forcell processor task and data management, comprising the steps of:dividing a cell processor event into two or more segments, wherein theevent requires more memory space than is available in a local storage ofa synergistic processing element (SPE) of the cell processor, andwherein each segment has a segment size that is less than or the same asan amount of memory space available in the local storage; associatingthe two or more outputs into one or more groups; and processing the twoor more segments with one or more SPE of the cell processor to producetwo or more corresponding outputs, wherein processing the two or moresegments includes checking a notification board to determine whether allthe segments in a group have finished processing.
 19. A cell processorhaving a power processing unit (PPU), one or more synergistic processingengines (SPE) and a main memory coupled to the PPU and SPE, wherein eachSPE includes a synergistic processing unit (SPU) and a local store, themain memory having embodied therein data and/or code representing anevent that requires more memory space than is available in the localstorage of an SPE, the cell processor being configured to executeprocessor readable instructions for implementing a task and datamanagement method, the method comprising the steps of: dividing theevent into two or more segments, wherein each segment has a segment sizethat is less than or the same as an amount of memory space available inthe local storage, wherein dividing the cell processor event into two ormore segments includes calculating the segment size based on a localstore buffer size, an event size, an input element size, and an outputelement size; and processing the two or more segments with one or moreSPE of the cell processor to produce two or more corresponding outputs.20. The cell processor of claim 19 wherein one or more SPE areconfigured to load a segment into a buffer and processing the segmentwhile transferring another segment into and/or out of one or more otherbuffers.
 21. The cell processor of claim 19 wherein the two or moreoutputs are associated into one or more groups, wherein each group isless than or equal to a target data size associated with a subsequentprocess, wherein processing the two or more segments with one or moreSPE includes processing each segment in a group with a different SPE.22. The cell processor of claim 19 wherein the event is a vertexrendering event.
 23. A cell processor having a power processing unit(PPU), one or more synergistic processing engines (SPE) and a mainmemory coupled to the PPU and SPE, wherein each SPE includes asynergistic processing unit (SPU) and a local store, the main memoryhaving embodied therein data and/or code representing an event thatrequires more memory space than is available in the local storage of anSPE, the cell processor being configured to execute processor readableinstructions for implementing a task and data management method, themethod comprising the steps of: dividing the event into two or moresegments, wherein each segment has a segment size that is less than orthe same as an amount of memory space available in the local storage,wherein dividing the cell processor event into two or more segmentsincludes determining a number of segments into which to divide theprocessor event based on a total event size and the segment size; andprocessing the two or more segments with one or more SPE of the cellprocessor to produce two or more corresponding outputs.
 24. A cellprocessor having a power processing unit (PPU), one or more synergisticprocessing engines (SPE) and a main memory coupled to the PPU and SPE,wherein each SPE includes a synergistic processing unit (SPU) and alocal store, the main memory having embodied therein data and/or coderepresenting an event that requires more memory space than is availablein the local storage of an SPE, the cell processor being configured toexecute processor readable instructions for implementing a task and datamanagement method, the method comprising the steps of: dividing theevent into two or more segments, wherein each segment has a segment sizethat is less than or the same as an amount of memory space available inthe local storage; and processing the two or more segments with one ormore SPE of the cell processor to produce two or more correspondingoutputs; the cell processor further comprising a command list embodiedin the main memory, the command list including one or more commandspertaining to the processing of each of the segments, wherein the one ormore commands includes a kick command, wherein the kick commandinstructs another processor to begin processing a group containing thetwo or more corresponding outputs.
 25. The cell processor of claim 24wherein the subsequent processor is a graphics card.
 26. A cellprocessor having a power processing unit (PPU), one or more synergisticprocessing engines (SPE) and a main memory coupled to the PPU and SPE,wherein each SPE includes a synergistic processing unit (SPU) and alocal store, the main memory having embodied therein data and/or coderepresenting an event that requires more memory space than is availablein the local storage of an SPE, the cell processor being configured toexecute processor readable instructions for implementing a task and datamanagement method, the method comprising the steps of: dividing theevent into two or more segments, wherein each segment has a segment sizethat is less than or the same as an amount of memory space available inthe local storage; and processing the two or more segments with one ormore SPE of the cell processor to produce two or more correspondingoutputs; the cell processor further comprising a notification boardembodied in the main memory, wherein the notification board storesinformation relating to a status of one or more of the segments.
 27. Acell processor having a power processing unit (PPU), one or moresynergistic processing engines (SPE) and a main memory coupled to thePPU and SPE, wherein each SPE includes a synergistic processing unit(SPU) and a local store, the main memory having embodied therein dataand/or code representing an event that requires more memory space thanis available in the local storage of an SPE, the cell processor beingconfigured to execute processor readable instructions for implementing atask and data management method, the method comprising the steps of:dividing the event into two or more segments, wherein each segment has asegment size that is less than or the same as an amount of memory spaceavailable in the local storage; and processing the two or more segmentswith one or more SPE of the cell processor to produce two or morecorresponding outputs, wherein the processor readable instructions forimplementing a task and data management method are embodied in the localstorage of a selected one of the SPEs, whereby the selected SPE acts asa Data Management SPE.
 28. A cell processor-based system, comprising: acell processor having a power processing unit (PPU), one or moresynergistic processing engines (SPE) and a main memory coupled to thePPU and SPE, wherein each SPE includes a synergistic processing unit(SPU) and a local store; an output processor coupled to the cellprocessor such that the output processor can process output produced bythe cell processor; and a set of processor readable instructions in themain memory and/or local store of one or more SPE, the instructionsbeing configured implement a task and data management method, the methodcomprising the steps of: dividing the event into two or more segments,wherein each segment has a segment size that is less than or the same asan amount of memory space available in the local storage; processing thetwo or more segments with one or more SPE of the cell processor toproduce two or more corresponding outputs; transferring the two or morecorresponding outputs to the output processor; and processing the two ormore corresponding outputs with the output processor wherein dividingthe cell processor event into two or more segments includes calculatingthe segment size based on a local store buffer size, an event size aninput element size and an output element size.
 29. The system of claim28 wherein the event is a vertex processing event.
 30. The system ofclaim 28 wherein the output processor is a graphics card.
 31. The systemof claim 28 further comprising a command list embodied in the mainmemory, the command list including one or more commands pertaining tothe processing of each of the segments.
 32. The system of claim 28wherein the two or more outputs are associated into a group thatrequires an amount of memory that is less than or equal to a target datasize associated with a subsequent process executed by the outputprocessor.
 33. The system of claim 28 wherein the event is a vertexprocessing event, wherein processing the two or more segments includesperforming a vertex transformation on vertex data, and whereinprocessing the two or more corresponding outputs with the outputprocessor includes performing a pixel process on the two or morecorresponding outputs.
 34. The system of claim 33 wherein the pixelprocess is a shading process.
 35. The system of claim 28 whereinprocessing the two or more segments with one or more SPE includesprocessing each segment in a group with a different SPE.
 36. A cellprocessor-based system, comprising: a cell processor having a powerprocessing unit (PPU), one or more synergistic processing engines (SPE)and a main memory coupled to the PPU and SPE, wherein each SPE includesa synergistic processing unit (SPU) and a local store; an outputprocessor coupled to the cell processor such that the output processorcan process output produced by the cell processor; and a set ofprocessor readable instructions in the main memory and/or local store ofone or more SPE, the instructions being configured implement a task anddata management method, the method comprising the steps of: dividing theevent into two or more segments, wherein each segment has a segment sizethat is less than or the same as an amount of memory space available inthe local storage; processing the two or more segments with one or moreSPE of the cell processor to produce two or more corresponding outputs;transferring the two or more corresponding outputs to the outputprocessor; and processing the two or more corresponding outputs with theoutput processor wherein dividing the cell processor event into two ormore segments includes determining a number of segments into which todivide the processor event based on a total event size and the segmentsize.
 37. A cell processor-based system, comprising: a cell processorhaving a power processing unit (PPU), one or more synergistic processingengines (SPE) and a main memory coupled to the PPU and SPE, wherein eachSPE includes a synergistic processing unit (SPU) and a local store; anoutput processor coupled to the cell processor such that the outputprocessor can process output produced by the cell processor; a set ofprocessor readable instructions in the main memory and/or local store ofone or more SPE, the instructions being configured implement a task anddata management method, the method comprising the steps of: dividing theevent into two or more segments, wherein each segment has a segment sizethat is less than or the same as an amount of memory space available inthe local storage; processing the two or more segments with one or moreSPE of the cell processor to produce two or more corresponding outputs;transferring the two or more corresponding outputs to the outputprocessor; and processing the two or more corresponding outputs with theoutput processor; the system further comprising a command list embodiedin the main memory, the command list including one or more commandspertaining to the processing of each of the segments, wherein the one ormore commands includes a kick command, wherein the kick commandinstructs the output processor to begin processing a group containingthe two or more corresponding outputs.
 38. A cell processor-basedsystem, comprising: a cell processor having a power processing unit(PPU), one or more synergistic processing engines (SPE) and a mainmemory coupled to the PPU and SPE, wherein each SPE includes asynergistic processing unit (SPU) and a local store; an output processorcoupled to the cell processor such that the output processor can processoutput produced by the cell processor; a set of processor readableinstructions in the main memory and/or local store of one or more SPE,the instructions being configured implement a task and data managementmethod, the method comprising the steps of: dividing the event into twoor more segments, wherein each segment has a segment size that is lessthan or the same as an amount of memory space available in the localstorage; processing the two or more segments with one or more SPE of thecell processor to produce two or more corresponding outputs;transferring the two or more corresponding outputs to the outputprocessor; and processing the two or more corresponding outputs with theoutput processor; the system further comprising a command list embodiedin the main memory, the command list including one or more commandspertaining to the processing of each of the segments; the system furthercomprising a notification board embodied in the main memory of the cellprocessor, wherein the notification board stores information relating toa status of one or more of the segments.